package io.renren.modules.gis_admin.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 子流域配置
 *
 * @author Mark iu1340@163.com
 * @since 1.0.0 2023-09-23
 */
@Data
@ApiModel(value = "子流域配置")
public class BasinConfigDTO implements Serializable {

  private static final long serialVersionUID = -5974838739418990445L;

  @ApiModelProperty(value = "id")
  private Long id;

  @ApiModelProperty(value = "配置记录id")
  private Long recordId;

  @NotNull
  @ApiModelProperty(value = "子流域编号")
  private Long basinId;

  @ApiModelProperty(value = "土地类型")
  private Long landType;

  @ApiModelProperty(value = "氮含量")
  private BigDecimal nValue;

  @ApiModelProperty(value = "磷含量")
  private BigDecimal pValue;

  @ApiModelProperty(value = "创建时间")
  @JsonProperty(access = JsonProperty.Access.READ_ONLY)
  private Date createDate;

  @ApiModelProperty(value = "更新时间")
  @JsonProperty(access = JsonProperty.Access.READ_ONLY)
  private Date updateDate;

  @ApiModelProperty(value = "删除时间")
  @JsonProperty(access = JsonProperty.Access.READ_ONLY)
  private Date deleteDate;
}